package com.yimils.core.goods.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yimils.core.goods.dto.CategoryAddReq;
import com.yimils.core.goods.dto.CategoryUpdateReq;
import com.yimils.core.goods.entity.CategoryEntity;
import com.yimils.core.goods.vo.CategoryRes;

import java.util.List;

public interface CategoryService extends IService<CategoryEntity> {
    Boolean saveCategory(CategoryAddReq categoryAddReq);

    Boolean updateCategory(CategoryUpdateReq categoryUpdateReq);

    Boolean deleteCategory(List<Long> categoryIds);

    List<CategoryRes> listCategory();
}
